package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.CheckGroupItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface CheckGroupItemMapper extends BaseMapper<CheckGroupItem> {

    @Select("SELECT item_id FROM check_group_item_t\n" +
            "where group_id = #{groupId}")
    public Long[] findByGroupId(@Param("groupId") Long groupId);

}
